package test;

import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

public class Main {

	public static void main(String[] args) throws FileNotFoundException, IOException {
		List<String> samples = new ArrayList<>();
		try (BufferedReader reader = new BufferedReader(new InputStreamReader(new FileInputStream("sample.txt")))) {
			String line;
			while ((line = reader.readLine()) != null) {
				samples.add(line);
			}
		}
		SUS sus = new SUSImpl();
		for (Map.Entry<String, String> e : sus.get(samples, new LinkedHashMap<String, String>()).entrySet()) {
			System.out.println(e);
		}
		System.out.println("done");
	}
}
